package zbum.issue.issue.service;

import java.io.Serializable;

public class SearchVO implements Serializable{
	
    private String sidx;
	
	private String sord;
	
	
	
	private String _search;
	
	private String searchOper;
	
	private String searchString;
	
	private String searchField;
	
	
	private String rows;
	
	private String page;
	
	private String firstIndex;
	
	public String getFirstIndex(){
		this.firstIndex = ( ( Integer.parseInt(page) - 1 ) * Integer.parseInt(rows)) + ""; 
		return this.firstIndex;
	}

	public String getSidx() {
		return sidx;
	}

	public void setSidx(String sidx) {
		this.sidx = sidx;
	}

	public String getSord() {
		return sord;
	}

	public void setSord(String sord) {
		this.sord = sord;
	}

	public String get_search() {
		return _search;
	}

	public void set_search(String _search) {
		this._search = _search;
	}

	public String getSearchOper() {
		return searchOper;
	}

	public void setSearchOper(String searchOper) {
		this.searchOper = searchOper;
	}

	public String getSearchString() {
		return searchString;
	}

	public void setSearchString(String searchString) {
		this.searchString = searchString;
	}

	public String getSearchField() {
		return searchField;
	}

	public void setSearchField(String searchField) {
		this.searchField = searchField;
	}

	public String getRows() {
		return rows;
	}

	public void setRows(String rows) {
		this.rows = rows;
	}

	public String getPage() {
		return page;
	}

	public void setPage(String page) {
		this.page = page;
	}
	
}
